-- GENERATED SPELL FOR [Orgrimmar Legion Axe Thrower] --


function spell0_15617(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15617', 500, 1)
end

function Sorts_15617(pUnit, Event)
local choix_sorts_15617 = math.random(0, 0)
if choix_sorts_15617 == 0 then
pUnit:RegisterEvent('spell0_15617', 1, 1)
end
end

function mob15617_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15617', math.random(1500, 3000), 1)
end

function mob15617_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15617_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15617_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15617, 1, 'mob15617_Action')
RegisterUnitEvent(15617, 2, 'mob15617_Leave')
RegisterUnitEvent(15617, 3, 'mob15617_Kill')
RegisterUnitEvent(15617, 4, 'mob15617_Die')
